#ifndef __DEAD_ZONE__
#define __DEAD_ZONE__

class DeadZone
{
public:
    DeadZone();
    DeadZone(float lowerValue, float higherValue);
    ~DeadZone();

    void setLimit(float lowerValue, float higherValue);

    bool getZoneByInput(float v);
    void reset();

private:
    bool mZoneFlag;
    float lowerLimit;
    float higherLimit;
};

#endif
